# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Contributor: Tim Yang <creslin@gmx.com>
# Contributor: Andrew Krawchyk <krawch_a@denison.edu>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Aurelien Foret <orelien@chez.com>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=beaver
pkgver=0.4.1
pkgrel=2
pkgdesc='Beaver is an Early AdVanced EditoR.'
arch=('i686' 'x86_64')
url='http://beaver-editor.sourceforge.net/'
license=('GPL2')
depends=('gtk2' 'hicolor-icon-theme')
makedepends=('intltool')
install=${pkgname}.install
options=('!libtool')
source=("http://sourceforge.net/projects/beaver-editor/files/${pkgver:0:3}/beaver-${pkgver}.tar.bz2")
md5sums=('0cb1bf7350e7399c85a42d6672907d64')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}
